package com.castle.fortress.admin.flowable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
/**
 * 流程应用权限管理表 实体类
 *
 * @author castle
 * @since 2022-09-26
 */
@Data
@TableName("castle_flowable_app_auth")
public class FlowableAppAuthEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	@TableId(
			value = "id",
			type = IdType.ASSIGN_ID
	)
	private Long id;
	/**
	 * 应用ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long appId;
	/**
	 * 权限ID
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long authId;
	/**
	 * 权限类型
	*/
	private String authType;

}
